﻿<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>对接需求</title>
    <link rel="stylesheet" href="/sources/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="/sources/layui/css/layuimini.css" media="all" />
    <!-- Jquery Js -->
    <script type="text/javascript" src="/sources/jquery.min.js"></script>
    <!-- Layui Js -->
    <script type="text/javascript" src="/sources/layui/layui.js"></script>
    <script type="text/javascript" src="/sources/layui/layui.js?v=1.0.4" charset="utf-8"></script>

</head>
<body>
    <div>
<!--        @*表格*@-->
        <div style="width:100%;height:200px;margin:15px">
<!--            @*<div class="layui-btn-group demoTable">-->
<!--            <button data-method="offset" data-type="Add" class="layui-btn layui-btn-normal">+新增方案需求</button>-->
<!--            </div>*@-->
            <table id="table" lay-filter="demo" class="tableStyle" style="margin:0 auto"></table>
        </div>

        <script type="text/html" id="dockingConsults_barDemo">
            <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">查看</a>

            {{# if(d.answerby==null||d.answerby==""){ }}
            <a class="layui-btn layui-btn-xs" lay-event="response">响应</a>
            {{# } else if(d.answerby!=null&&d.answerby!=""&&d.answerby!="@Session["username"].ToString()") { }}
            <a class="layui-btn layui-btn-xs" lay-event="responsed">已响应</a>
            {{# } else { }}
            <a class="layui-btn layui-btn-xs" lay-event="contact">联系</a>
            <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="cancelResponse">取消响应</a>
            {{# } }}
        </script>
<!--        @*查看*@-->
        <div id="lookConsults" style="display:none">
        <form id="addForm" method="post" class="layui-form" action="">
            <table class="tableForm">
                <tr>
                    <td>
                        <div class="layui-form-item">
                            <label class="layui-form-label">标题：</label>
                            <div class="layui-input-block">
                                <input type="text" id="look_title" name="look_title" required lay-verify="required" placeholder="" autocomplete="off" class="layui-input" readonly>
                            </div>
                        </div>
                    </td>
                    <td>
                        <div class="layui-form-item">
                            <label class="layui-form-label">单位：</label>
                            <div class="layui-input-block">
                                <input type="text" id="look_unit" name="look_unit" required lay-verify="required" placeholder="" autocomplete="off" class="layui-input" readonly>
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="layui-form-item">
                            <label class="layui-form-label">创建人：</label>
                            <div class="layui-input-block">
                                <input type="text" id="look_createby" name="look_createby" required lay-verify="required" placeholder="" autocomplete="off" class="layui-input" readonly>
                            </div>
                        </div>
                    </td>
                    <td>
                        <div class="layui-form-item">
                            <label class="layui-form-label">创建时间：</label>
                            <div class="layui-input-block">
                                <input type="text" id="look_createtime" name="look_createtime" required lay-verify="required" placeholder="" autocomplete="off" class="layui-input" readonly>
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="layui-form-item">
                            <label class="layui-form-label">企业用户职务：</label>
                            <div class="layui-input-block">
                                <input type="text" id="look_role1" name="look_role1" required lay-verify="required" placeholder="" autocomplete="off" class="layui-input" readonly>
                            </div>
                        </div>
                    </td>
                    <td>
                        <div class="layui-form-item">
                            <label class="layui-form-label">服务商用户职务：</label>
                            <div class="layui-input-block">
                                <input type="text" id="look_role2" name="look_role2" required lay-verify="required" placeholder="" autocomplete="off" class="layui-input" readonly>
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="layui-form-item">
                            <label class="layui-form-label">响应人：</label>
                            <div class="layui-input-block">
                                <input type="text" id="look_answerby" name="look_answerby" required lay-verify="required" placeholder="" autocomplete="off" class="layui-input" readonly>
                            </div>
                        </div>
                    </td>
                    <td>
                        <div class="layui-form-item">
                            <label class="layui-form-label">响应时间：</label>
                            <div class="layui-input-block">
                                <input type="text" id="look_answertime" name="look_answertime" required lay-verify="required" placeholder="" autocomplete="off" class="layui-input" readonly>
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <div class="layui-form-item">
                            <label class="layui-form-label">描述：</label>
                            <div class="layui-input-block">
                                <textarea id="look_description" name="look_description" placeholder="" class="layui-textarea" readonly></textarea>
                            </div>
                        </div>
                    </td>
                </tr>
            </table>
        </form>
    </div>
<!--        @*联系*@-->
        <div id="user_contact" style="display:none">
        <form id="addForm_F" method="post" class="layui-form" action="">
            <table class="tableForm">
                <tr>
                    <td>
                        <div class="layui-form-item">
                            <label class="layui-form-label">联系人：</label>
                            <div class="layui-input-block">
                                <input type="text" id="user_name" name="user_name" required lay-verify="required" placeholder="" autocomplete="off" class="layui-input" readonly>
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <div class="layui-form-item">
                            <label class="layui-form-label">单位：</label>
                            <div class="layui-input-block">
                                <input type="text" id="user_unit" name="user_unit" required lay-verify="required" placeholder="" autocomplete="off" class="layui-input" readonly>
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="layui-form-item">
                            <label class="layui-form-label">职位：</label>
                            <div class="layui-input-block">
                                <input type="text" id="user_role" name="user_role" required lay-verify="required" placeholder="" autocomplete="off" class="layui-input" readonly>
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="layui-form-item">
                            <label class="layui-form-label">联系电话：</label>
                            <div class="layui-input-block">
                                <input type="text" id="user_phone" name="user_phone" required lay-verify="required" placeholder="" autocomplete="off" class="layui-input" readonly>
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="layui-form-item">
                            <label class="layui-form-label">Email：</label>
                            <div class="layui-input-block">
                                <input type="text" id="user_email" name="user_email" required lay-verify="required" placeholder="" autocomplete="off" class="layui-input" readonly>
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="layui-form-item">
                            <label class="layui-form-label">地址：</label>
                            <div class="layui-input-block">
                                <input type="text" id="user_address" name="user_address" required lay-verify="required" placeholder="" autocomplete="off" class="layui-input" readonly>
                            </div>
                        </div>
                    </td>
                </tr>
            </table>
        </form>
    </div>
    </div>
    <script src="/js/providers/dockingConsults.js"></script>
</body>

</html>

